<?php
$_scarabConfig = Mage::getStoreConfig('scarab_research/general');
if($_scarabConfig['enabled']) { ?> 
<script>
Scarab.go();
</script>
<?php } ?>